<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>凑单品</title>
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/gsproduct.css">
</head>

<body>
  <div class="mm-layout" id="aa">
    <!-- 头部 -->
    <div class="mm-header">
      <div class="hd-logo">
        <h4>
          凑单品
        </h4>
        <a href="#" class="hd-app">
          <img src="./images/header_app.png" alt="">
        </a>
      </div>
    </div>

    <!-- 主体 -->
    <div class="mm-main">

      <!-- 导航 -->
      <div class="nav clearfix">
        <ul>
          <li class='on'>
            <a href="#">京东</a>
          </li>
          <li class="to">
            <a href="#">华北</a>
          </li>
          <li>
            <a href="#">全部价格</a>
          </li>
        </ul>
      </div>
      <!-- 商品店 -->
      <div class="jd">
        <ul>
          <li>
            <a href="#">京东</a>
          </li>
          <li>
            <a href="#">一号店</a>
          </li>
          <li>
            <a href="#">天猫超市</a>
          </li>
        </ul>
      </div>
      <!-- 地区 -->
      <div class="diqu">
           <ul>
          <li>
            <a href="#">华北（北京、山西等）</a>
          </li>
        </ul>
      </div>

      <!-- 内容 -->
      <div class="content clearfix">
          <ul>
            <li>
              <a href="#">
                <img src="./images/mnav.jpg" alt="">
                <p>廿一客(21cake)专用餐具 1人份(不单独配送)</p>
                <div>
                  <span>￥0.50</span>
                  <button>去凑单</button>
                </div>
              </a>
            </li>
            <li>
              <a href="#">
                <img src="./images/mnav.jpg" alt="">
                <p>廿一客(21cake)专用餐具 1人份(不单独配送)</p>
                <div>
                  <span>￥0.50</span>
                  <button>去凑单</button>
                </div>
              </a>
            </li>
          </ul>
      </div>
    </div>

    <!-- 底部 -->
    <div class="mm-footer">
      <div class="foot-top">
        <a href="#">登录</a>
        <a href="#">注册</a>
        <a href="#aa" class="upward"><img src="./images/top.jpg" alt="">返回顶部</a>
      </div>
      <div class="foot-bottom">
        <p>
          <a href="#">手机APP下载</a>
          <span>慢慢买手机版</span>
          -- 掌上比价平台
        </p>
        <p>m.manmanbuy.com</p>
      </div>
    </div>

  </div>

  <!-- 商品店模板 -->
  <script type="text/html" id="tmp">
    <ul>
      {{ each result v i }}
      <li>
          <a href="#" data-id={{ v.shopId }}>{{ v.shopName }}</a>
      </li>
      {{ /each }}
    </ul>       
  </script>
  
  <!-- 商品地区 -->
  <script type="text/html" id="tmp-diqu">
    <ul>
      {{ each result v i }}
      <li>
          <a href="#" data-id={{ v.areaId }}>{{ v.areaName }}</a>
      </li>
      {{ /each }}
    </ul>       
  </script>


  <script type="text/html" id="tmp-product">
    <ul>
      {{ each result v i }}
      <li>
          <a href="#" data-id={{ v.productId}}>
            <img src="{{ v.productImg }}" alt="">
            <p>{{ v.productName }}</p>
            <div>
              <span>{{ v.productPrice }}</span>
              <button>去凑单</button>
            </div>
          </a> 
        </li>
     {{ /each }}
    </ul>
  </script>


  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/gsproduct.js"></script>
</body>

</html>